package com.woniuxy.oa.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Schedule implements Serializable{
	private static final long serialVersionUID = 1L;
	private int s_id;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date s_starttime;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date s_endtime;
	private String s_type;
	private String s_content;
	private Employee employee;
	public Schedule() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Schedule(int s_id, Date s_starttime, Date s_endtime, String s_type, String s_content, Employee employee) {
		super();
		this.s_id = s_id;
		this.s_starttime = s_starttime;
		this.s_endtime = s_endtime;
		this.s_type = s_type;
		this.s_content = s_content;
		this.employee = employee;
	}
	public int getS_id() {
		return s_id;
	}
	public void setS_id(int s_id) {
		this.s_id = s_id;
	}
	public Date getS_starttime() {
		return s_starttime;
	}
	public void setS_starttime(Date s_starttime) {
		this.s_starttime = s_starttime;
	}
	public Date getS_endtime() {
		return s_endtime;
	}
	public void setS_endtime(Date s_endtime) {
		this.s_endtime = s_endtime;
	}
	public String getS_type() {
		return s_type;
	}
	public void setS_type(String s_type) {
		this.s_type = s_type;
	}
	public String getS_content() {
		return s_content;
	}
	public void setS_content(String s_content) {
		this.s_content = s_content;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	@Override
	public String toString() {
		return "Schedule [s_id=" + s_id + ", s_starttime=" + s_starttime + ", s_endtime=" + s_endtime + ", s_type="
				+ s_type + ", s_content=" + s_content + ", employee=" + employee + "]";
	}
	
}
